﻿<h3>SimpleBind</h3>

<p>传入参数：@Param1</p>

<button @onclick="ChangeParam">更改参数</button>

@code {
    [Parameter]
    public string Param1 { get; set; }

    [Parameter]
    public EventCallback<string> Param1Changed { get; set; }

    private void ChangeParam()
    {
        this.Param1 += "_add";
    }

    protected override void OnInitialized()
    {
        base.OnInitialized();
    }

    protected override void OnParametersSet()
    {
        base.OnParametersSet();
    }
}
